#include "junction.h"

Junction::Junction(quint64 id, double latitude, double longitude, int altitude):
Node(id, latitude, longitude, altitude)
{
}

Junction::~Junction()
{}

void Junction::addNeightbour(Junction * neighbour, Link link)
{
    neighbours.insert(neighbour, link);
}

const QMap<Junction *, Link> & Junction::getNeighbours() const
{
    return neighbours;
}
